import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import router from './router';
import store from './store';
import './assets/styles/main.less';
import './permission.js';
import Component from '@/components/index'

Vue.use(Component) // 注册自己的插件

Vue.use(ElementUI);

new Vue({
    el: '#app',
    render: h => h(App),
    router,
    store,
});
